<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:spring="http://www.springframework.org/tags" version="2.0">
  <spring:url value="/resources/css" var="css" />
  <spring:url value="/resources/js" var="js" />
  <spring:url value="/resources" var="resources" />
  <link href="${css}/main.css" rel="stylesheet" type="text/css" />
  <link href="${css}/custom-theme/jquery-ui-1.8.9.custom.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js">;</script>
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js">;</script>
  <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js">;</script>
  
  <script type="text/javascript" src="${js}/jquery.ui.datepicker-pl.js">;</script>
  <script type="text/javascript" src="${js}/my-jquery.js">;</script>
  <script type="text/javascript" src="${js}/progress.js">;</script>
  <script type="text/javascript">
  	$(document).ready(function() {
		$('body').updateHtml();
		$('body').append('<div id="AjaxBusy"><img src="/book-app/resources/ajax-loader-gray-gray.gif" /></div>');
		/*$(this).ajaxStart(function() { 
			$('#AjaxBusy').show(); 
    	}).ajaxStop(function(){ 
			$('#AjaxBusy').hide();
		});*/
		$.datepicker.setDefaults($.datepicker.regional['pl']);
  	});
  </script>
</jsp:root>
